package com.itheima.search.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author 16701
 */
@Data
@TableName("tb_news")
public class News {

    @TableId(value = "news_id", type = IdType.AUTO)
    private Long newsId;
    //新闻标题
    private String title;

    //新闻类型
    private Integer typeId;
    //新闻内容
    private String content;
    //延迟发布时间
    private Integer delayTime;
    //来源
    private String source;
    //创建时间
    private LocalDateTime createTime;
    //创建人
    private String updateBy;
    //更新时间
    private LocalDateTime updateTime;
    //更新人
    private String createBy;
    //状态
    private Integer status;
    //备注
    private String remark;
    //通知id
    private Integer noticeId;

}
